package com.demo.study.reflection;

import lombok.Data;

/**
 * @author Baymax
 * @since 2021/10/10
 */
@Data
public class User {
    private String name;
    private int age;
    private int id;

    private void eat(String food) {
        System.out.println("User eat: " + food);
    }

    private String play() {
        return "玩具";
    }
}
